
import { NgModule } from '@angular/core';
import { CommonModule} from '@angular/common';
import {ChartComponent} from './chart.component'
import {NgxEchartsModule} from 'ngx-echarts'
import {RouterModule,Routes} from '@angular/router';
import { ElModule } from 'element-angular';
import {WidgetEchartModule} from '../widget-echart/widget-echart.module'



const ROUTES:Routes=[
    {path:'/:chart',component:ChartComponent}
]
@NgModule({
    declarations:[
        ChartComponent
    ],
    imports:[
        CommonModule,
        NgxEchartsModule,
        ElModule,
        WidgetEchartModule
    ],
    exports:[
        ChartComponent
    ]
})



export class ChartModule{}